<%--
  Created by IntelliJ IDEA.
  User: superzhaolu
  Date: 2017/9/11
  Time: 8:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page contentType="image/jpeg"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <jsp:useBean id="image" scope="page" class="nuc.sw.CertPic.MakeCertPic" />
    <%
        String str=image.getCertPic(0,0,response.getOutputStream());
         // 将认证码存入SESSION
        session.setAttribute("certCode", str);
        System.out.println(str);
        out.clear();
        out = pageContext.pushBody();
    %>
</body>
</html>
